<div style="height:2.5rem"></div>
<div class="fui-navbar">
    <a href="javascript:;" id="scancode"  class="external nav-item" ng-class="{'active':page.action=='move'}">
        <span class="icon jinyunicon icon-auto"></span>
        <span class="label" style="color: #000000;">我要挪车</span>
    </a>
	<a href="javascript:;" ng-click="access_json('jy_move/move_card/')" class="external nav-item" ng-class="{'active':page.action=='move_cart'}">
        <span class="icon jinyunicon icon-qiche" ></span>
        <span class="label" style="color: #000000;">我的挪车卡</span>
    </a>
	<a href="javascript:;" ng-click="access_json('jy_move/home/')" class="external nav-item" ng-class="{'active':page.action=='home'}">
        <span class="icon jinyunicon icon-wo1" ></span>
        <span class="label" style="color: #000000;">会员中心</span>
    </a>
</div>
<script language="javascript">
wx.ready(function () {
	$("#scancode").on('click',function () {
			wx.scanQRCode({
				needResult: 1, // 默认为0，扫描结果由微信处理，1则直接返回扫描结果，
				scanType: ["qrCode","barCode"], // 可以指定扫二维码还是一维码，默认二者都有
				success: function (res) {
					var result = res.resultStr; // 当needResult 为 1 时，扫码返回的结果
					location.href= result;					
				}
			});
	});
});
</script> 